package com.leoandroid.tool.toolsbox.camera.utils

object RecognizeUtil {

    fun getRequestPath(requestType: Int): String {
        when (requestType) {
            Constants.RECOGNIZE_TYPE_PLANT -> return "rest/2.0/image-classify/v1/plant"
            Constants.RECOGNIZE_TYPE_INGREDIENT -> return "rest/2.0/image-classify/v1/classify/ingredient"
            Constants.RECOGNIZE_TYPE_DISH -> return "rest/2.0/image-classify/v2/dish"
            Constants.RECOGNIZE_TYPE_ANIMAL -> return "rest/2.0/image-classify/v1/animal"
            Constants.RECOGNIZE_TYPE_ACCURATE -> return "rest/2.0/ocr/v1/general_basic"
        }
        return ""
    }
}